﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using BW.WMS.WareHouseStatistics.Page;

namespace BW.WMS.WareHouseStatistics.SalesReturns
{
    public interface ISalesReturnsAppService:IApplicationService
    {
        /// <summary>
        /// 创建退货方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<SalesReturnsDto> CreateAsync(CreateUpdateSalesReturnsDto input);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(Guid id);

        /// <summary>
        /// 获取
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<SalesReturnsDto> GetAsync(Guid id);

        /// <summary>
        /// 获取分页列表
        /// </summary>
        /// <returns>包含分页信息和数据的结果</returns>
        Task<PagedResultDto<SalesReturnsDto>> GetListAsync(SalesReturnsGetList input);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="id"></param>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<SalesReturnsDto> UpdateAsync(Guid id,CreateUpdateSalesReturnsDto input);
    }
}
